package pattern19.barbecue;

/**
 * 烤鸡翅的命令
 * @author wdl
 */
public class BakeChickenWingCommand extends BaseCommand {
    /**
     * 抽象命令类需要知道命令的接收者
     *
     * @param receiver 命令的接收者
     */
    public BakeChickenWingCommand(Barbecuer receiver) {
        super(receiver);
    }

    @Override
    public void executeCommand() {
        receiver.bakeChickenWing();
    }
}
